package com.lzy.service;

import java.util.List;
import java.util.Map;

import com.lzy.entity.KeyIM;
import com.lzy.entity.dto.TreeNode;
import com.lzy.exception.WrapedException;
import com.lzy.util.Page;

public interface KeyIMService {
	
	public List<TreeNode> treeItemsQuery() throws Exception;
	
	void addFolder(Map<String, Object> map);
	
	void delFolder(int id);
	
	void updateFolder(Map<String, Object> map);
	
	void addKeyIm(Map<String, Object> map) throws WrapedException;
	
	void updateKeyIm(Map<String, Object> map);
	
	void delKeyIm(Map<String, Object> params);
	
	Page queryKeyIm(Map<String, Object> map );
	
	KeyIM queryKeyImById(String id) ;
}
